﻿#pragma once

#include <QWidget>
#include "ui_SearchCfgclass.h"

class QsciScintilla;
class QDockWidget;
//class QTextEdit;

class MultiSearchClass : public QWidget
{
	Q_OBJECT

public:
	explicit MultiSearchClass(QWidget* parent, QsciScintilla* pEdit);;
	~MultiSearchClass();

private slots:
	void on_applyAPP();

public:
	void setScintilla(const std::function<QsciScintilla* ()>& cb);

private:
	Ui::MultiSearchClassClass ui;
	QsciScintilla* m_pEdit;
	QDockWidget* dockWidget_; 
	QWidget* mainWidget_;
	std::function<QsciScintilla* ()> scintillaCallback_;
};
